/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.qdu.dao.impl;

import com.qdu.dao.CommentDao;
import com.qdu.entity.Comment;

/**
 *
 * @author 12068
 */
public class CommentDaoImpl extends BaseDaoImpl implements CommentDao{

    @Override
    public int insert(Comment c) {
        return executeUpdate("insert into Comment values(?,?,?,?)", c.getUno(),c.getUname(),c.getCcom(),c.getPno());
    }

    
}
